<script setup lang="ts">
import {ref} from 'vue';

interface multiMsg  {
  address1?: string,
  address2?: string,
  id?: number
};

const multiMsgChild = defineModel<multiMsg>( { default:() => ({}) } );


</script>

<template>
  <div>
    <input placeholder="输入地址1" v-model="multiMsgChild.address1"/>
    <input placeholder="输入地址2" v-model="multiMsgChild.address2"/>
    <input placeholder="输入id" v-model="multiMsgChild.id"/>
  </div>
</template>

